
#include "SystemHandle.h"

//Creates new event.
//@param manualReset If true, then this object has to be set to non-signaled manualy trough Reset
//@param initialState If true initial state is signaled.
//@param name Name of the object
Error::code SystemEventHandle::Create(bool manualReset, bool initialState, string name) {
  // Bouml preserved body begin 0002D72A
  // Bouml preserved body end 0002D72A
}

//Opens named mutex if such exists.
Error::code SystemEventHandle::Open(string name) {
  // Bouml preserved body begin 0002D7AA
  // Bouml preserved body end 0002D7AA
}

//Manualy resets signaled object to non-signaled state.
Error::code SystemEventHandle::Reset() {
  // Bouml preserved body begin 0002D82A
  // Bouml preserved body end 0002D82A
}

//Changes object to signaled state.
Error::code SystemEventHandle::Set() {
  // Bouml preserved body begin 0002D8AA
  // Bouml preserved body end 0002D8AA
}

//Standard wait for single sync object.
Error::code SystemEventHandle::WaitFor(unsigned int timeout) {
  // Bouml preserved body begin 0002D92A
  // Bouml preserved body end 0002D92A
}

//Waits for multiple sync objects.
Error::code SystemEventHandle::WaitForMultiple(unsigned int count, const SyncObject * handleList, bool waitAll, unsigned int milliseconds) {
  // Bouml preserved body begin 0002D9AA
  // Bouml preserved body end 0002D9AA
}

//Increases the count of the specified semaphore object by a specified amount.
Error::code SystemSemaphoreHandle::Release(unsigned int releaseCount, unsigned int & previousCount) {
  // Bouml preserved body begin 0002D5AA
  // Bouml preserved body end 0002D5AA
}

//Standard wait for single sync object.
Error::code SystemSemaphoreHandle::WaitFor(unsigned int timeout) {
  // Bouml preserved body begin 0002D62A
  // Bouml preserved body end 0002D62A
}

//Waits for multiple sync objects.
Error::code SystemSemaphoreHandle::WaitForMultiple(unsigned int count, const SyncObject * handleList, bool waitAll, unsigned int milliseconds) {
  // Bouml preserved body begin 0002D6AA
  // Bouml preserved body end 0002D6AA
}

